From 6d39e29b3a964fb85e72a8b54281e9581231977e Mon Sep 17 00:00:00 2001 From: Robert Lipe Date: Sun, 27 Dec 2015 15:48:45 -0600 Subject: [PATCH] Update mkchanges to deal with Git/Github. --- tools/mkchanges | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tools/mkchanges b/tools/mkchanges index 13c056ffd..db54175fa 100644 --- a/tools/mkchanges +++ b/tools/mkchanges @@ -1,6 +1,10 @@ -# cvsps -u +# GitHub version lets it render something prewtty close to HTML. (Still have to manually fix <, >, and other entities...) +git log --date=short --pretty=format:"%n %cd%n %s %b%n" -svn log | awk ' +exit 0 + +# Subversion version. +git log | awk ' skip = 0; /^r[0-9].*lines?$/ { if (count > 0) printf " \n\n" @@ -24,6 +28,7 @@ skip = 0; exit 0 +# CVS version. cvsps $* | awk ' /^Date:/ { logt = ""; -- 2.30.2